package com.xiao.community.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("seckil-server")
@RequestMapping("seckil/seckill/")
public interface SeckilFeign {
    @RequestMapping("toinfo")
    public boolean toinfo(@RequestParam("goodsId")Integer goodsId);
}
